package com.wzdigit.wms.wms.dto.oqc;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName OqcInspDto
 * @Description OQC判检Dto
 * @Author LHR-PC
 * @Date 2021/1/24 22:18
 * @Version
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OqcInspDto implements Serializable {


    private static final long serialVersionUID = 383042179730335455L;

    @ApiModelProperty(value = "送检单ID")
    private Integer oqcInspId;
    /**
     * 送检单号
     */
    @ApiModelProperty(value = "送检单号")
    private String inspNo;
    /**
     * 销售订单
     */
    @ApiModelProperty(value = "销售订单")
    private String soNo;
    /**
     * 销售订单行号
     */
    @ApiModelProperty(value = "销售订单行号")
    private String soItem;
    /**
     * 生产工单
     */
    @ApiModelProperty(value = "生产工单")
    private String prdWo;
    /**
     * 工厂(组织)
     */
    @ApiModelProperty(value = "工厂(组织)")
    private String factory;
    /**
     * 制造工厂
     */
    @ApiModelProperty(value = "制造工厂")
    private String mfgPlant;
    /**
     * 产线
     */
    @ApiModelProperty(value = "产线")
    private String mfgLine;
    /**
     * 送检数量
     */
    @ApiModelProperty(value = "送检数量")
    private Integer inspQty;
    /**
     * 货品编码
     */
    @ApiModelProperty(value = "货品编码")
    private String skuCode;
    /**
     * 货品描述
     */
    @ApiModelProperty(value = "货品描述")
    private String skuDesc;
    /**
     * 送检单类型
     */
    @ApiModelProperty(value = "送检单类型")
    private Integer inspType;
    /**
     * 判检结果
     */
    @ApiModelProperty(value = "判检结果")
    private Integer inspResult;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;
    /**
     * 送检日期
     */
    @ApiModelProperty(value = "送检日期")
    private Date inspDate;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String comments;
    /**
     * 明细列表
     */
    @ApiModelProperty(value = "明细列表")
    List<OqcInspDtlDto> oqcInspDtlDtoList;

    /**
     * 上一次的状态
     */
    @ApiModelProperty(value = "上一次的状态")
    @TableField(value = "LAST_STATUS")
    private Integer lastStatus;

    /**
     * 检验单ID
     */
    @ApiModelProperty(value = "QMS_OQC_ID")
    @TableField(value = "QMS_OQC_ID")
    private Integer qmsOqcId;
}
